package com.shu.driftbook.dao;

import java.util.List;

public interface UserDao {
	public User get(Integer id);
	public Integer save(User user);
	public void update(User user);
	public void delete(Integer id);
	public void delete(User user);
	public List<User> findByName(String name);
	public boolean findByNameAndPassword(String name,String password);
	public List findAllUser();
	public long getUserNumber();
	public boolean checkUserAndPassword(User user);
}
